package player.ui.browse;

import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.LayoutManager;
import java.awt.Rectangle;

public class ALayout implements LayoutManager{
	ALayout(){
		super();
	}
	public void addLayoutComponent(String arg0, Component arg1) {
		
	}

	public void removeLayoutComponent(Component c) {
		
	}
	
	public void layoutContainer(Container c) {
		int count = c.getComponentCount();
	    for (int i = 0 ; i < count ; i++) {
	        Component m = c.getComponent(i);
	        Rectangle rec=new Rectangle(0,0,c.getWidth(),c.getHeight());
	        m.setBounds(rec);
	    }
	}
	
	
	public Dimension minimumLayoutSize(Container c) {
		Dimension dm=new Dimension(0,0);
		return dm;
	}

	public Dimension preferredLayoutSize(Container c) {
		Dimension dm=new Dimension(1150,1150);
		return dm;
	}
	
	
	
	void layOut(){
		
	}


}
